Skip to content

Conversation

@devcrocod
Copy link
Contributor

  • added kotlin/js target (nodejs) for all modules
  • added kotlin/js target (browser) for all modules except acp-ktor-server

This simplifies acp integration into koog

Testing

All multiplatform tests passed

Breaking changes

None

browser()
nodejs()
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nerzhulart Btw, should we add wasm target too? (And to the other ktor modules)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasm has been added as a shared target in buildSrc.

jvm {
compilerOptions.jvmTarget = JvmTarget.JVM_1_8
}
js { nodejs() }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only nodejs()? I.e. why other modules have both nodejs and browser?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To prevent adding the browser target for the server, since including browser there would cause an exception

@nerzhulart nerzhulart merged commit d4ddb20 into agentclientprotocol:master Dec 15, 2025
1 check passed
@devcrocod devcrocod deleted the devcrocod/add-js-browser-target branch December 16, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants